package com.steven.im.ui.activity;

import android.content.Intent;
import android.view.View;
import android.widget.ImageView;

import com.steven.im.R;
import com.steven.im.base.BaseActivity;
import com.steven.im.utils.ScreenUtil;
import com.steven.im.utils.TitleBuilder;

import butterknife.BindView;
import butterknife.OnClick;

public class IMUserInfoActivity extends BaseActivity {
    @BindView(R.id.iv_title_right)
    ImageView iv_title_right;

    @Override
    public void setListen() {

    }

    @Override
    public void setTitleBarColor() {
        iv_title_right.setVisibility(View.GONE);
        new TitleBuilder(this).setTitleText(getString(R.string.friendInfo))
                .setLeftIcoListening(new View.OnClickListener() {
                    @Override
                    public void onClick(View view) {
                        finish();
                    }
                });

    }

    @Override
    public int intiLayout() {
        return R.layout.activity_im_friendinfo;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }

    @OnClick({R.id.rl_modifyRemark})
    public void onViewClicked(View view) {
        if (ScreenUtil.isFastClick()) {
            return;
        }
        switch (view.getId()) {
            case R.id.rl_modifyRemark://修改备注和分组
                startActivity(new Intent(IMUserInfoActivity.this, IMModifyRemarkActivity.class));
                break;

        }
    }
}
